﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace commonV2.forms
{
    public partial class baseSlashForm : Form
    {
        public baseSlashForm()
        {
            try
            {
                InitializeComponent();
                if (Settings.sysIsDesignMode==false)
                    SetLanguage();
            }
            catch(Exception er)
            {
                SysLog.WriteLog(er);
            }
        }
        public virtual void SetLanguage() 
        {
            this.skipBtn.Text = language.GetString("skip");
            this.myToolTip.SetToolTip(waitingPB, language.GetString("clickToSkip"));
            this.waitingLbl.Text = language.GetString("pleaseWait"); 
        }

        private void skipBtn_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
